package com.stone.springboot.Test.exception;

import lombok.*;

/**
 * Created by stone on 2017/8/25.
 */

public class MyBizException extends Exception{

	@Getter @Setter
	private Integer code ;

	@Getter @Setter
	private String message ;

	public MyBizException() {
	}

	public MyBizException(Integer code, String message) {
		this.code = code;
		this.message = message;
	}
}
